<div class="title"><?php echo __('video gallery'); ?></div>

<div class="naujiena">

    <?php if( $gallery ): ?>
        <?php foreach( $gallery as $video ): ?>
            <?php $video->setCulture($sf_user->getCulture()); ?>
            <div class="galerija_event">
                <div class="galerija_data"><?php echo $video->getUpdatedAt('Y-m-d'); ?></div>
                <div class="galerija_title"><?php echo link_to($video->getTitle(), 'video/play?id=' . $video->getId()); ?></div>
            </div>
        <?php endforeach; ?>
    <?php endif; ?>

</div>
